var api_token = sessionStorage.getItem('api_token'); //参数
if (api_token === null) {
    alert('你未登录账号,请先登录账号');
    // window.location.href = '../jq_tourism/login.html'
    window.location.href = '../login.html'
}